﻿using System;
namespace Travel.Model
{
	/// <summary>
	/// route:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class route
	{
		public route()
		{}
		#region Model
		private int _id;
		private string _name;
		private int? _type;
		private string _key_words;
		private string _start_with;
		private string _end_with;
		private int _start_id;
		private int _end_id;
		private int? _days_account;
		private DateTime _begin_date;
		private DateTime _created_on;
		private string _created_by;
		private DateTime? _changed_on;
		private string _changed_by;
		/// <summary>
		/// 主键
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 线路名称
		/// </summary>
		public string name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 1 国内 2 国外 等  按照最后确定的类型来判断
		/// </summary>
		public int? type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 关键字 用于搜索
		/// </summary>
		public string key_words
		{
			set{ _key_words=value;}
			get{return _key_words;}
		}
		/// <summary>
		/// 出发地
		/// </summary>
		public string start_with
		{
			set{ _start_with=value;}
			get{return _start_with;}
		}
		/// <summary>
		/// 目的地
		/// </summary>
		public string end_with
		{
			set{ _end_with=value;}
			get{return _end_with;}
		}
		/// <summary>
		/// 出发地Id
		/// </summary>
		public int start_id
		{
			set{ _start_id=value;}
			get{return _start_id;}
		}
		/// <summary>
		/// 目的地id
		/// </summary>
		public int end_id
		{
			set{ _end_id=value;}
			get{return _end_id;}
		}
		/// <summary>
		/// 天数
		/// </summary>
		public int? days_account
		{
			set{ _days_account=value;}
			get{return _days_account;}
		}
		/// <summary>
		/// 出发日期
		/// </summary>
		public DateTime begin_date
		{
			set{ _begin_date=value;}
			get{return _begin_date;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime created_on
		{
			set{ _created_on=value;}
			get{return _created_on;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string created_by
		{
			set{ _created_by=value;}
			get{return _created_by;}
		}
		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime? changed_on
		{
			set{ _changed_on=value;}
			get{return _changed_on;}
		}
		/// <summary>
		/// 最后修改人
		/// </summary>
		public string changed_by
		{
			set{ _changed_by=value;}
			get{return _changed_by;}
		}
		#endregion Model

	}
}

